package com.school.domain;


import java.io.Serializable;

public class Grade implements Serializable {

  private static final long serialVersionUID = 5654489944715394521L;
  private long gid;
  private double score;
  private long sid;
  private long coid;

  public Grade() {
  }

  public Grade(long gid, double score, long sid, long coid) {
    this.gid = gid;
    this.score = score;
    this.sid = sid;
    this.coid = coid;
  }

  @Override
  public String toString() {
    return "Grade{" +
            "gid=" + gid +
            ", score=" + score +
            ", sid=" + sid +
            ", coid=" + coid +
            '}';
  }

  public long getGid() {
    return gid;
  }

  public void setGid(long gid) {
    this.gid = gid;
  }


  public double getScore() {
    return score;
  }

  public void setScore(double score) {
    this.score = score;
  }


  public long getSid() {
    return sid;
  }

  public void setSid(long sid) {
    this.sid = sid;
  }


  public long getCoid() {
    return coid;
  }

  public void setCoid(long coid) {
    this.coid = coid;
  }

}
